Skip to content

GCSHook: Log NotFound error instead of raise on blob delete#2

Draft
tuzonghua wants to merge 14 commits intomainfrom
google/gcsdeleteobjectsoperator_allow_skip_error
Draft

GCSHook: Log NotFound error instead of raise on blob delete#2
tuzonghua wants to merge 14 commits intomainfrom
google/gcsdeleteobjectsoperator_allow_skip_error

Conversation

@tuzonghua
Copy link
Owner

Instead of raising a 404/NotFound error when calling GCSHook.delete(), match the behavior of delete_bucket and log the error.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

dependabot bot and others added 14 commits February 24, 2026 13:28
Bumps the core-ui-package-updates group with 1 update in the /airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui directory: [eslint](https://github.com/eslint/eslint).


Updates `eslint` from 10.0.0 to 10.0.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v10.0.0...v10.0.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: core-ui-package-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: Consume SQL hook lineage in OpenLineage

* Update providers/openlineage/src/airflow/providers/openlineage/extractors/manager.py

---------

Co-authored-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
* Make start_date in Context nullable

If a deadline is missed before a DagRun is started (could be queued for
a very long time), there would be an exception when creating the Context
because start_date is currently non-nullable.

* Add cadwyn migration for nullable DagRun.start_date

* more explicit downgrade

Co-authored-by: Amogh Desai <amoghrajesh1999@gmail.com>"

* merge conflict static checks

---------

Co-authored-by: ferruzzi <ferruzzi@amazon.com>
Co-authored-by: Shashwati <shashwatibhattacaharya21.2@gmail.com>
…2180)

Co-authored-by: Stephen Bracken <email-protected>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…apache#60677)

* keep consistency

* support kerberos init securityContext/lifecycle in workers
Instead of raising a 404/NotFound error when calling `GCSHook.delete()`,
match the behavior of `delete_bucket` and log the error.
This reverts commit 6ba1f57eb153e0d26c9420dcff1ee4c7f06724a2.
This adds an `ignore_error` boolean to `GCSHook.delete`, which will
suppress any 404 errors if a blob to be deleted doesn't exist.
Makes the `GCSHook.delete` `ignore_error` boolean available to
ignore errors when a blob doesn't exist.
@tuzonghua tuzonghua force-pushed the google/gcsdeleteobjectsoperator_allow_skip_error branch from e4f649e to b610dc5 Compare February 24, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants